﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ulement.Web;

public partial class GioiThieu : System.Web.UI.Page
{
    int lang = 2;
    protected void Page_Load(object sender, EventArgs e)
    {

        if (!this.IsPostBack)
        {

            if (Request.QueryString["lang"] != "" && Request.QueryString["lang"] != null) lang = Convert.ToInt32(Request.QueryString["lang"]);
            lbPageName.Text = "<a href='/GioiThieu.aspx?lang=2' >About us </a>";
            lbGioiThieu1.Text = "History & Heritage";
            lbGioiThieu2.Text = "InterDist Leadership";
            lbGioiThieu3.Text = "Our Vision & Strategy";
            if (lang == 1)
            {
                lbPageName.Text = "<a href='/GioiThieu.aspx?lang=1' >Giới thiệu </a>";
                lbGioiThieu1.Text = "Lịch sử";
                lbGioiThieu2.Text = "Sáng lập viên";
                lbGioiThieu3.Text = "Tầm nhìn Chiến lược";
            }

        }
    }

    public string LinkGioiThieuDetail(object ID)
    {

        HttpUrlQuery ur = new HttpUrlQuery(Page.Request.QueryString);
        string tukhoa = ur.Get("lang");

        return "GioiThieuDetail.aspx?loai=" + ID + "&lang=" + tukhoa;
    }
}